package org.springcloud.plugin.framework.strategy.constant;

/**
 * author: yanggld
 * date: 2019/12/21 20:53
 * version: 1.0
 * description: StrategyConstant
 */
public class StrategyConstant {
    // 开启和关闭路由策略的控制。一旦关闭，路由策略功能将失效。缺失则默认为true
    public static final String SPRING_APPLICATION_STRATEGY_CONTROL_ENABLED = "spring.application.strategy.control.enabled";
    // 开启和关闭Ribbon默认的ZoneAvoidanceRule负载均衡策略。一旦关闭，则使用RoundRobin简单轮询负载均衡策略。缺失则默认为true
    public static final String SPRING_APPLICATION_STRATEGY_ZONE_AVOIDANCE_RULE_ENABLED = "spring.application.strategy.zone.avoidance.rule.enabled";
    // 启动和关闭调用链。缺失则默认为false
    public static final String SPRING_APPLICATION_STRATEGY_TRACE_ENABLED = "spring.application.strategy.trace.enabled";

    public static final String SPRING_APPLICATION_STRATEGY_REGISTER_ISOLATION_GROUP_WHITELIST = "spring.application.strategy.register.isolation.group.whitelist";

    public static final String SPRING_APPLICATION_STRATEGY_REGISTER_ISOLATION_ENABLED = "spring.application.strategy.register.isolation.enabled";
}
